package Decorator;

public class Client {
    public static void main(String[] args) {
        IBirthdayCake birthdayCake = new Cake();
        birthdayCake.show();

        Cream creamCake = new Cream(birthdayCake);
        creamCake.putCream();
        creamCake.show();

        Fruit fruitCreamCake = new Fruit(creamCake);
        fruitCreamCake.putFruit();
        fruitCreamCake.show();
    }
}
